/*
 * @Author: rxn 1003312535@qq.com
 * @Date: 2024-07-05 15:56:15
 * @LastEditors: rxn 1003312535@qq.com
 * @LastEditTime: 2024-07-08 09:19:06
 * @FilePath: \vue3-progect\src\views\example\three\helper\arrowHelper.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export const ArrowHelper = (THREE, scene) => {
	const dir = new THREE.Vector3(1, 2, 1);
	dir.normalize();
	const origin = new THREE.Vector3(0, 0, 0);
	const length = 100;
	const hex = 0xffff00;
	const arrowHelper = new THREE.ArrowHelper(dir, origin, length, hex);
	scene.add(arrowHelper);
};
